<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <title>用户登录</title>
    <!-- Bootstrap core CSS -->
    <link th:href="@{/asserts/css/bootstrap.min.css}" href="asserts/css/bootstrap.min.css" rel="stylesheet">
    <!-- Custom styles for this template -->
    <link th:href="@{/asserts/css/signin.css}" href="asserts/css/signin.css" rel="stylesheet">
</head>

<body class="text-center">
<form th:action="@{/login.do}" class="form-signin"  method="post">
    <img class="mb-4" src="asserts/img/ysu1.jpg" alt="" width="72" height="72">
    <h1 class="h3 mb-3 font-weight-normal">电动车管理系统</h1>
    <label class="sr-only">学校</label>
    <input type="text" class="form-control" name="universityName" placeholder="某某大学" required="" autofocus="">
    <label class="sr-only">学号</label>
    <input type="text" class="form-control" name="username" placeholder="学号/工号" required="" autofocus="">
    <label class="sr-only">密码</label>
    <input type="password" class="form-control" name="password" placeholder="密码" required="">
    <div>
        <div class="form-check form-check-inline">
            <input class="form-check-input" type="radio" name="userType" value="1" checked>
            <label class="form-check-label">学生</label>
        </div>
        <div class="form-check form-check-inline">
            <input class="form-check‐input" type="radio" name="userType" value="2">
            <label class="form-check-label">辅导员</label>
        </div>
        <div class="form-check form-check-inline">
            <input class="form-check‐input" type="radio" name="userType" value="3">
            <label class="form-check-label">监督员</label>
        </div>
    </div>
    <div>
        <span>&nbsp;</span>
    </div>
    <!--<div class="checkbox mb-3">
        <label>
            <input type="checkbox" value="remember-me"> 记住密码
        </label>
    </div>-->
    <button class="btn btn-lg btn-primary btn-block" type="submit">登录</button>
    <p class="mt-5 mb-3 text-muted">zhaodongxu2022@qq.com</p>
    <a name="messege" th:text="${session.loginMessage}" style="color:#ff0000"></a>
    <a href="regist">注册</a>
    <a class="btn btn-sm">中文</a>
    <a class="btn btn-sm">English</a>
</form>

</body>

</html>